<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>TwinIOC-API代码示例-自定义对象列表</title>

    <link rel="stylesheet" href="../css/common.css" />
    <script src="../public/tgapp/TGApp.min.js"></script>
    <script src="../js/TwinIOCApp.min.js"></script>
    <script src="../js/config.js"></script>
    <script src="./index.js"></script>

    <!-- 引入 bootstrap -->
    <link rel="stylesheet" href="../css/bootstrap.min.css" />
    <script src="../lib/bootstrap.bundle.min.js"></script>

    <style>
      ::selection {
        background: transparent !important;
      }

      /* 场景加载loading start */
      #mask {
        display: none;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 10;
        color: #ccc;
        font-size: 16px;
      }

      .avw-loader section {
        line-height: 1;
      }
      /* 场景加载loading end */

      /* 左侧面板 start */
      .left-panel-container {
        position: absolute;
        top: 10%;
        left: 10px;
        display: none;
        background: rgba(12, 12, 20, 0.85);
        width: 338px;
        height: calc(100% - 252px);
        color: #fff;
        /* overflow-y: auto; */
        padding: 3px;
      }

      .card {
        height: 100%;
        border: 0;
        border-radius: 0;
      }
      .card .card-header {
        height: 46px;
        line-height: 46px;
        background: #16161d;
        border: 1px solid #42424f;
        border-radius: 0;
        color: #fff;
        padding: 0 10px;
      }
      .card-header .title-name {
        font-size: 16px;
        color: #fff;
        font-weight: bold;
      }
      .card-body {
        padding: 0;
        height: 100%;
        overflow-y: auto;
      }
      /* 左侧面板 end */
    </style>
  </head>

  <body>
    <div class="app" id="app">
      <!-- 头部 -->
      <div class="header-wrap">
        <a href="//www.twinioc.net" target="_blank">TwinIOC</a><span>-API代码示例-自定义对象列表</span><br />
        <span class="ctrl">显示对象列表数据-选中对象列表聚焦到对象</span>
        <!-- <img src="../../image/tuguan.png" /> -->
      </div>

      <div id="mask">
        <!-- 加载Loding -->
        <div class="avw-loader">
          <section><span class="loader-112">L &nbsp; ading </span></section>
        </div>

        <!-- 进度条dom暂时不能删除，twinioc.js 会获取这个dom进行设置进度条 删除时会报错 -->
        <div class="progress-wrap" style="opacity: 0">
          <p>场景加载中...</p>
          <div class="bar-outer">
            <div class="bar-inner"></div>
          </div>
          <p class="value"></p>
        </div>
      </div>

      <!-- 场景 -->
      <div id="container"></div>

      <!-- 左侧功能面板 -->
      <div class="left-panel-container">
        <div class="card">
          <!-- 标题 -->
          <div class="card-header text-primary">
            <div class="title-name">对象列表</div>
          </div>
          <div class="card-body">
            <!-- 对象列表 -->
            <div class="accordion left-panel twin-object" id="objectAccordion"></div>
          </div>
        </div>
      </div>

      <!-- 底部 -->
      <div class="footer-box">
        <span>基于孪易数字孪生应用开发引擎构建 https://www.twinioc.net</span>
        <span>版权所有 北京数字冰雹信息技术股份有限公司</span>
      </div>
    </div>
  </body>
</html>
<style>
  html,
  body {
    background-color: #00000000;
  }
</style>
